import {createRouter, createWebHistory,RouteRecordRaw} from "vue-router";

const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        name: 'Login',
        component: () => import('../components/Login.vue')
    },
    {
        path: '/UserFinan',
        name: 'UserFinan',
        component: () => import('../components/UserFinan.vue')
    },
    {
        path: '/UserRedeem',
        name: 'UserRedeem',
        component: () => import('../components/UserRedeem.vue')
    },
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router